<?php
/**
 * Created by PhpStorm.
 * User: yxs
 * Date: 2017/7/19
 * Time: 11:37
 */

namespace model;

use think\Model;

class ShopCollect extends Model
{
    protected $insert = ['add_time'];

    public function setAddTimeAttr()
    {
        return time();
    }
}